package com.xuecheng.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;

/**
 * @description: 分页查询分页参数
 * @author: Mr.M
 * @date: 2023/2/19 20:59
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PageParams {

    @ApiModelProperty("页码")
    //当前页码
    private Long pageNo = 1L;

    @ApiModelProperty("每页记录数")
    //每页记录数
    private Long pageSize = 30L;
}
